class Product {

//    static searchable = true

    String name
    BigDecimal currentPrice
    BigDecimal currentCost
    ProductCategory productCategory

    static transients = ['fullName']

    String getFullName(){
        return toString()
    }

    String toString(){
        return "$productCategory--$name"
    }

}
